// 访问后端接口的域名或IP
const Base_url = "http://43.139.95.60:4008/MotiSrc"
 
 
 export const myRequest = (url = " ",method,data= {})=>{
	return new Promise((resolve,reject)=>{
		 
    uni.request({
		url: Base_url + url,
		data: data,
		method:method,
		dataType:'json',
		success: (res)=>{
			resolve(res)
		},
		fail:(err)=>{
			reject(err)
		}
	})
})
}

export default {}

